package com.company.cloud.base.modules.mgr.controller.req;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class BizCodeUpdateParam extends BaseParam {

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "分类编号")
    @NotEmpty(message = "分类编号不能为空")
    private String typeCode;

    @ApiModelProperty(value = "名称")
    @NotEmpty(message = "名称不能为空")
    private String vname;

    @ApiModelProperty(value = "值")
    @NotEmpty(message = "值不能为空")
    private String vval;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "顺序")
    private Integer weight;
}
